package com.ygqh.baby.model;

import com.ygqh.baby.ao.AppType;
import com.ygqh.baby.ao.PayType;

import java.math.BigDecimal;

/**
 * 〈〉
 *
 * @author guohao
 * @date 2019/5/20 13:17
 * @since 1.0.0
 */
public class CommitKjOrderParam {
    //Long skuId, PayType payType, Long userBargainId, Long userAddressId, BigDecimal totalPrice, String sourceCode, BigDecimal accountPrice, Long userId

    private String platformNo;

    private Long userId;

    private Long skuId;

    private PayType payType = PayType.WeChat;

    private Long userBargainId;

    private Long userAddressId;

    private BigDecimal totalPrice = BigDecimal.ZERO;

    private BigDecimal accountPrice = BigDecimal.ZERO;

    private String sourceCode;

    private AppType appType;

    private String formId;


    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public AppType getAppType() {
        return appType;
    }

    public void setAppType(AppType appType) {
        this.appType = appType;
    }

    public String getPlatformNo() {
        return platformNo;
    }

    public void setPlatformNo(String platformNo) {
        this.platformNo = platformNo;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public PayType getPayType() {
        return payType;
    }

    public void setPayType(PayType payType) {
        this.payType = payType;
    }

    public Long getUserBargainId() {
        return userBargainId;
    }

    public void setUserBargainId(Long userBargainId) {
        this.userBargainId = userBargainId;
    }

    public Long getUserAddressId() {
        return userAddressId;
    }

    public void setUserAddressId(Long userAddressId) {
        this.userAddressId = userAddressId;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getAccountPrice() {
        return accountPrice;
    }

    public void setAccountPrice(BigDecimal accountPrice) {
        this.accountPrice = accountPrice;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }
}
